<preload type="js" list="jform.js" path="/js/" />
<include file="header" />

<loop $areaList $id $area>
<div id="bbsarea">
	<div id="areatitle">{$area['name']}</div>
	<div id="bbsblock_container">
		<?php $i=0;$len=count($area['children']); ?>
		<loop $area['children'] $childid $child>
		<?php $i++;?>
		<div id="bbsblock">
		<a href="index.php?a=area/view&id={$childid}">{$child['name']}</a>
		</div>
		<?php if (($i>1 && ($i%3 == 1)) || $i==$len) {?><div class="clear"></div><?php } ?>
		</loop>
	</div>
</div>
</loop>

<include file="footer" />